package net.chenyan.server.po;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 表[user]对应实体类
 *
 * @author codeGenerate 2022年04月23日
 */
@Data
@TableName(value = "user")
@Entity
@ApiModel(value = "表[user]的实体类")
public class User {

    /**
     * 用户id
     */
    @Id
    @ApiModelProperty(value = "用户id", dataType = "int")
    private int id;

    /**
     * 用户昵称
     */
    @ApiModelProperty(value = "用户昵称", dataType = "String")
    private String name;

    /**
     * 电话号码
     */
    @ApiModelProperty(value = "电话号码", dataType = "String")
    private String tel;

    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", dataType = "String")
    private String password;

    /**
     * 头像
     */
    @ApiModelProperty(value = "头像", dataType = "String")
    private String portrait;

    /**
     * 个性签名
     */
    @ApiModelProperty(value = "个性签名", dataType = "String")
    private String signature;

}
